package com.okcoin.entity;

import org.springframework.context.annotation.Bean;

/**
 *
 * 合约行情数据bean类
 * @author sky
 * @date 2018/10/11 14:01
 * @param
 * @return
 */
public class Futureusd {
    //最高买入限制价格
    private String limitHigh;
    //最低卖出限制价格
    private String limitLow;
    //24小时成交量
    private double vol;
    //卖一价格
    private double sell;
    //买一价格
    private double buy;
    //合约价值
    private double unitAmount;
    //当前持仓量
    private double hold_amount;
    //合约ID
    private long contractId;
    //24小时最高价格
    private double high;
    //24小时最低价格
    private double low;
    //时间戳
    private String timestamp;

    public String getLimitHigh() {
        return limitHigh;
    }

    public void setLimitHigh(String limitHigh) {
        this.limitHigh = limitHigh;
    }

    public String getLimitLow() {
        return limitLow;
    }

    public void setLimitLow(String limitLow) {
        this.limitLow = limitLow;
    }

    public double getVol() {
        return vol;
    }

    public void setVol(double vol) {
        this.vol = vol;
    }

    public double getSell() {
        return sell;
    }

    public void setSell(double sell) {
        this.sell = sell;
    }

    public double getBuy() {
        return buy;
    }

    public void setBuy(double buy) {
        this.buy = buy;
    }

    public double getUnitAmount() {
        return unitAmount;
    }

    public void setUnitAmount(double unitAmount) {
        this.unitAmount = unitAmount;
    }

    public double getHold_amount() {
        return hold_amount;
    }

    public void setHold_amount(double hold_amount) {
        this.hold_amount = hold_amount;
    }

    public long getContractId() {
        return contractId;
    }

    public void setContractId(long contractId) {
        this.contractId = contractId;
    }

    public double getHigh() {
        return high;
    }

    public void setHigh(double high) {
        this.high = high;
    }

    public double getLow() {
        return low;
    }

    public void setLow(double low) {
        this.low = low;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "Futureusd{" +
                "limitHigh='" + limitHigh + '\'' +
                ", limitLow='" + limitLow + '\'' +
                ", vol=" + vol +
                ", sell=" + sell +
                ", buy=" + buy +
                ", unitAmount=" + unitAmount +
                ", hold_amount=" + hold_amount +
                ", contractId=" + contractId +
                ", high=" + high +
                ", low=" + low +
                ", timestamp='" + timestamp + '\'' +
                '}';
    }
}
